using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace AllIsWell.Core.Models
{
    public class Destiny : IModel
    {
        public int Id { get; set; }

        [Required(ErrorMessage = "A Path is required")]
        public string Path { get; set; }

        [Required(ErrorMessage = "A Description is required")]
        public string Description { get; set; }

        [Required(ErrorMessage = "A Greeting message is required")]
        public string GreetingMessage { get; set; }

        public virtual List<What> Whats { get; set; }

        public virtual List<Page> Pages { get; set; }
    }
}